f069ac9ddba1ee08bfa60df6c62fa77b850bde03,common/src/main/java/eu/europeana/cloud/common/utils/RevisionUtils.java,RevisionUtils,getRevisionKey,#Revision#,13

Before Change


    }

    public static String getRevisionKey(Revision revision) {
        return revision.getRevisionProviderId() + "_" + revision.getRevisionName();
    }
}

After Change


    }

    public static String getRevisionKey(Revision revision) {
        if (revision == null)
            throw new IllegalArgumentException("Cannot create key from null revision!");

        return getRevisionKey(revision.getRevisionProviderId(), revision.getRevisionName(), revision.getCreationTimeStamp().getTime());
    }
}